Move documentation to inline comments: GtkHBox
authorJavier Jardón <jjardon@gnome.org>
Wed, 28 Apr 2010 02:29:41 +0000 (04:29 +0200)
committerJavier Jardón <jjardon@gnome.org>
Wed, 28 Apr 2010 02:29:41 +0000 (04:29 +0200)
docs/reference/gtk/tmpl/.gitignore
docs/reference/gtk/tmpl/gtkhbox.sgml [deleted file]
gtk/gtkhbox.c

index b6d9f7a12e5d332d8a465113900a9ef1fad7847c..a9378ad349ac1c11dc5a945b92a34ec2f228a085 100644 (file)
@@ -1,2 +1,3 @@
+gtkhbox.sgml
 gtkmessagedialog.sgml
 gtktesting.sgml
diff --git a/docs/reference/gtk/tmpl/gtkhbox.sgml b/docs/reference/gtk/tmpl/gtkhbox.sgml
deleted file mode 100644 (file)
index 8af4c50..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-<!-- ##### SECTION Title ##### -->
-GtkHBox
-
-<!-- ##### SECTION Short_Description ##### -->
-A horizontal container box
-
-<!-- ##### SECTION Long_Description ##### -->
-<para>
-GtkHBox is a container that organizes child widgets into a single row.
-</para>
-
-<para>
-Use the #GtkBox packing interface to determine the arrangement,
-spacing, width, and alignment of GtkHBox children.
-</para>
-
-<para>
-All children are allocated the same height.
-</para>
-
-<!-- ##### SECTION See_Also ##### -->
-<para>
-<variablelist>
-
-<varlistentry>
-<term>#GtkVBox</term>
-<listitem><para>a sister class that organizes widgets into a column.</para></listitem>
-</varlistentry>
-
-</variablelist>
-</para>
-
-<!-- ##### SECTION Stability_Level ##### -->
-
-
-<!-- ##### STRUCT GtkHBox ##### -->
-
-
-
-<!-- ##### FUNCTION gtk_hbox_new ##### -->
-<para>
-Creates a new GtkHBox.
-</para>
-
-@homogeneous: %TRUE if all children are to be given equal space allotments.
-@spacing: the number of pixels to place by default between children.
-@Returns: a new GtkHBox.
-
-
index b917c4019d43494a9b700cc02652c52bd3655a7e..61855f35af37d77e33d1c537434987b7afccea99 100644 (file)
 #include "gtkorientable.h"
 #include "gtkalias.h"
 
+
+/**
+ * SECTION:gtkhbox
+ * @Short_description: A horizontal container box
+ * @Title: GtkHBox
+ * @See_also: #GtkVBox
+ *
+ * #GtkHBox is a container that organizes child widgets into a single row.
+ *
+ * Use the #GtkBox packing interface to determine the arrangement,
+ * spacing, width, and alignment of #GtkHBox children.
+ *
+ * All children are allocated the same height.
+ */
+
+
 G_DEFINE_TYPE (GtkHBox, gtk_hbox, GTK_TYPE_BOX)
 
 static void
@@ -46,6 +62,15 @@ gtk_hbox_init (GtkHBox *hbox)
   _gtk_box_set_old_defaults (GTK_BOX (hbox));
 }
 
+/**
+ * gtk_hbox_new:
+ * @homogeneous: %TRUE if all children are to be given equal space allotments.
+ * @spacing: the number of pixels to place by default between children.
+ *
+ * Creates a new #GtkHBox.
+ *
+ * Returns: a new #GtkHBox.
+ */
 GtkWidget *
 gtk_hbox_new (gboolean homogeneous,
              gint     spacing)